package com.atguigu.tingshu.payment.service;

import com.wechat.pay.java.service.payments.model.Transaction;
import jakarta.servlet.http.HttpServletRequest;

import java.util.Map;

public interface WxPayService {


    Map<String, Object> createJsapi(String orderNo, String paymentType, Long userId);

    Transaction queryPayStatus(String orderNo);

    Transaction wxNotify(HttpServletRequest request);
}
